<!-- 封装函数,返回3个数的最大值 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>第五题</title>
</head>
<body>
    <script>
        function fn(a,b,c){
            result = Math.max(...arguments)
            return result
        }
        fn(3,5,7)
        console.log(result)
    </script>
</body>
</html>